Optimal. Leaf size=21 \[ 2 x+\frac {2 \cos (a+b x) \sin (a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {4373, 2715, 8}
\begin {gather*} \frac {2 \sin (a+b x) \cos (a+b x)}{b}+2 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2715
Rule 4373
Rubi steps
\begin {align*} \int \csc ^2(a+b x) \sin ^2(2 a+2 b x) \, dx &=4 \int \cos ^2(a+b x) \, dx\\ &=\frac {2 \cos (a+b x) \sin (a+b x)}{b}+2 \int 1 \, dx\\ &=2 x+\frac {2 \cos (a+b x) \sin (a+b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 20, normalized size = 0.95 \begin {gather*} \frac {2 (a+b x)+\sin (2 (a+b x))}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 28, normalized size = 1.33
method | result | size |
risch | \(2 x +\frac {\sin \left (2 x b +2 a \right )}{b}\) | \(18\) |
default | \(\frac {2 \cos \left (x b +a \right ) \sin \left (x b +a \right )+2 x b +2 a}{b}\) | \(28\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 18, normalized size = 0.86 \begin {gather*} \frac {2 \, b x + \sin \left (2 \, b x + 2 \, a\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.53, size = 22, normalized size = 1.05 \begin {gather*} \frac {2 \, {\left (b x + \cos \left (b x + a\right ) \sin \left (b x + a\right )\right )}}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.49, size = 29, normalized size = 1.38 \begin {gather*} \frac {2 \, {\left (b x + a + \frac {\tan \left (b x + a\right )}{\tan \left (b x + a\right )^{2} + 1}\right )}}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.15, size = 17, normalized size = 0.81 \begin {gather*} 2\,x+\frac {\sin \left (2\,a+2\,b\,x\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________